package com.bawei.base.utils.param

//这是预下单参数
// 详情页预下单  OrderDetail - preOrderType 需要有值 值为buyNow
// attrValueId 商品属性id productNum 商品数量 productId 商品id

//在购物车下单
// OrderDetail - preOrderType 需要有值 值为shoppingCart
//购物车列表数据的id shoppingCartId

//订单界面下单 （再来一单）
//OrderDetail - preOrderType 需要有值 值为again
// orderNo 值为 当前订单的编号

// 初始化值 Int = 0 ，String = " " boolean = false  list = emptyList()
//如果有实体类 哥值为 ?= null

data class Poeder(
    val attrValueId: Int = 0,
    val bargainId: Int = 0,
    val bargainUserId: Int = 0,
    val combinationId: Int = 0,
    var orderDetails: List<OrderDetail> = emptyList(),
    val orderNo: String = "",
    val pinkId: Int = 0,
    var preOrderType: String = "",
    val productId: Int = 0,
    val productNum: Int = 0,
    val seckillId: Int = 0,
    val shoppingCartId: Int = 0
)

data class OrderDetail(
    val attrValueId: Int = 0,
    val bargainId: Int = 0,
    val bargainUserId: Int = 0,
    val combinationId: Int = 0,
    val orderDetails: List<Any> = emptyList(),
    val orderNo: String = "",
    val pinkId: Int = 0,
    val preOrderType: String = "",
    val productId: Int = 0,
    val productNum: Int = 0,
    val seckillId: Int = 0,
    var shoppingCartId: Int = 0
)